package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.AccountDeal;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AccountDealMapper {
    int deleteByPrimaryKey(Integer accountDealId);

    int insertSelective(AccountDeal record);

    AccountDeal selectByPrimaryKey(Integer accountDealId);

    int updateByPrimaryKeySelective(AccountDeal record);

    int updateBatchSelective(List<AccountDeal> list);

    int batchInsert(@Param("list") List<AccountDeal> list);

    List<AccountDeal> selectAll();

    int batchInsertSelective(@Param("list") List<AccountDeal> list);

    List<AccountDeal> selectAllByAccountAccountDealTitleId(@Param("accountAccountDealTitleId") String accountAccountDealTitleId);

    List<AccountDeal> selectByMerorderno(@Param("merorderno") String merorderno);


}